package com.example.demo.bean;

import org.springframework.beans.factory.annotation.Autowired;

public class Bean2 {


    private BeanA beanA;

    //@Autowired
    public void setBeanA(BeanA beanA) {
        this.beanA = beanA;
    }
}
